// 编码分类
export const ruleTypeOptions = [
  {label: "物料", value: "物料", type: "primary", color: ""},
  {label: "客户", value: "客户", type: "warning", color: ""},
  {label: "供应商", value: "供应商", type: "success", color: ""},
];

export const ruleTypeMixins = (data) => {
  return ruleTypeOptions.find(item => item.value === data);
};
